package com.cskaoyan.bean.wx.comment.vo;

import com.cskaoyan.bean.order.Comment;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 创建日期: 2022/05/10 09:36
 *
 * @author JinLu Zhou
 */
@Data
public class CommentVo {
    Date addTime;
    String adminContent;
    String content;
    String[] picList;
    UserInfoVo userInfo;

    public void set(Comment comment) {
        setAddTime(comment.getAddTime());
        setAdminContent(comment.getAdminContent());
        setContent(comment.getContent());
        setPicList(comment.getPicUrls());
    }
}
